/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package simplerecipes.model;

/**
 *
 * @author matamh0a
 */
public enum Unit {
    
    g,  //gram
    kg,
    
    oz,
    lb,
    
    tsp,
    tbsp,
    cup;
    
    static double KG_TO_G = 1000;
    static double OZ_TO_G = 28.3495231;
    static double LB_TO_G = 453.59237;
    
    static double CUP_TO_TBSP = 4*4; // 1/4 cup contains 4 tbsp
    static double CUP_TO_TSP  = 4 * 4 * 3; // 1 tbsp = 3 tsp
    static double TBSP_TO_TSP = 3;
}
